
<?php
	
	include_once( "DB.php");
   
   
    $typename=$_POST['addType_txt'];
    
    if( $typename == " " || $typename == "" )
    {
        echo -1;
        return;        
    }
	$db = new DB();
    $db->setNewType($typename);
    
	  
?>